/*
 * Copyright 2007 Jeffrey Palm
 */

import java.util.*;

public class HasAttributes {
  
  private final Hashtable attrs = new Hashtable();
  
  public void setProperty(String key, String val) {
    attrs.put(key,val);
  }

  public String getProperty(String key) {
    Object o = attrs.get(key);
    return o == null ? (String)null : String.valueOf(o);
  }
}
